home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
serial
/
callback.001
/
callback~
/
callback
/
lib
/
dest
/
definedest.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-07-18
|
405b
|
15 lines
#include "dest.p"
void define_dest(char *groupname)
{
ndestinations++; /* add a new destination */
destination = xrealloc(destination, ndestinations * sizeof(DESTINATION_));
/* clear the destination-struct */
memset(destination + ndestinations - 1, 0, sizeof(DESTINATION_));
/* store the destname-index */
destination[ndestinations - 1].dgroup = dgroup_index(groupname);
}